/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package tracksuite.integration;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 *
 * @author mfloriano
 */
@Entity
@Table(name="Category")
public class CategoryTO extends GenericTO implements java.io.Serializable {
    
    @Column(name = "name")
    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "Category " + getId() + ", " + getName();
    }
    
}
